/**
 * 角色基本信息div
 * 
 * @author 卢少男
 */

function roleUptInfoDiv(roleId,roleName,roleDesc,roleLock){
	if(typeof(roleName)=='undefined'||typeof(roleDesc)=='undefined'){roleName = '';roleDesc = '';}
	var roleUptInfoDiv = '<div class="form"><form class="form-horizontal" id="roleUptInfoForm" method="post">'+
	  
		'<div class="control-group">'+
		    '<input type="hidden" id="roleId" name="roleId" value="'+roleId+'">'+
		    '<input type="hidden" id="isLock" name="isLock" value="'+roleLock+'">'+
			'<label  class="control-label">角色名称<span class="required">*</span></label>'+
			'<div class="controls">'+
				'<input id="roleName" name="roleName" placeholder="请填写角色名称，不能超过20个字符！" value="'+roleName+'" class="span3 m-wrap"/>'+
			    
			'</div>'+
		'</div>'+
		'<div class="control-group">'+
		     '<label class="control-label">角色简介<span class="required">*</span></label>'+
		     '<div class="controls">'+
		     '<textarea class="span3 m-wrap" id="roleDesc" name="roleDesc" rows="3" placeholder="请简单填写角色介绍，不得超过50个字符！">'+roleDesc+'</textarea>'+
		     
		'</div></form></div>';
	return roleUptInfoDiv;
}
